/**
 * Copyright (c) 2017, armor All Rights Reserved.
 */

package com.celesea.framework.holder;

public interface HolderClearer {

    void clear();

    /**
     * 清除所有线程
     */
    static void clearAll() {
        // TODO
//		List<HolderClearer> clearers = ArmorExtensionLoader
//						.getInstance(HolderClearer.class).get();
//		for(HolderClearer clearer : clearers) {
//			clearer.clear();
//		}
    }
}
